package com.mx.beautiful.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class FileUtil {

	public static Matcher getPattern(String pattern, String alltxt) {
		Matcher m=null;
		try{
		Pattern p = Pattern.compile(pattern,Pattern.CASE_INSENSITIVE);
		m = p.matcher(alltxt);
		}
		catch(Exception ex)
		{
			ex.printStackTrace();
		}
		return m;
	}
}
